package com.rain.rainspringboot3.encryption.enums;

/**
 * 数据类型枚举
 * 定义需要加密的数据类型
 */
public enum DataType {
    PHONE("手机号"),
    ID_CARD("身份证"),
    EMAIL("邮箱"),
    BANK_CARD("银行卡号"),
    REAL_NAME("真实姓名"),
    ADDRESS("地址");
    
    private final String description;
    
    DataType(String description) {
        this.description = description;
    }
    
    public String getDescription() {
        return description;
    }
}